package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 续班汇总表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("renew_class_collect")
@ApiModel(value = "RenewClassCollect对象", description = "续班汇总表")
public class RenewClassCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("所属学校id")
    private Long schoolId;

    @ApiModelProperty("学校名称")
    private String schoolName;

    @ApiModelProperty("所属班级id")
    private Long gradeId;

    @ApiModelProperty("所属老师id")
    private Long teacherId;

    @ApiModelProperty("老师名称")
    private String teacherName;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("所属季度（）")
    private Integer quarterNum;

    @ApiModelProperty("所属科目")
    private Long subjectsId;

    @ApiModelProperty("老师带班总人数")
    private Integer studentAllCount;

    @ApiModelProperty("应续人数")
    private Integer renewCount;

    @ApiModelProperty("已续人数")
    private Integer yetRenewCount;

    @ApiModelProperty("流失人数")
    private Integer lossingCount;

    @ApiModelProperty("季度截止日期")
    private LocalDate quarterEndDate;

    @ApiModelProperty("续班率")
    private String renewRate;

    @ApiModelProperty("流失率（季度完结后才有的数据）")
    private String lossingRade;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Integer getStudentAllCount() {
        return studentAllCount;
    }

    public void setStudentAllCount(Integer studentAllCount) {
        this.studentAllCount = studentAllCount;
    }
    public Integer getRenewCount() {
        return renewCount;
    }

    public void setRenewCount(Integer renewCount) {
        this.renewCount = renewCount;
    }
    public Integer getYetRenewCount() {
        return yetRenewCount;
    }

    public void setYetRenewCount(Integer yetRenewCount) {
        this.yetRenewCount = yetRenewCount;
    }
    public Integer getLossingCount() {
        return lossingCount;
    }

    public void setLossingCount(Integer lossingCount) {
        this.lossingCount = lossingCount;
    }
    public LocalDate getQuarterEndDate() {
        return quarterEndDate;
    }

    public void setQuarterEndDate(LocalDate quarterEndDate) {
        this.quarterEndDate = quarterEndDate;
    }
    public String getRenewRate() {
        return renewRate;
    }

    public void setRenewRate(String renewRate) {
        this.renewRate = renewRate;
    }
    public String getLossingRade() {
        return lossingRade;
    }

    public void setLossingRade(String lossingRade) {
        this.lossingRade = lossingRade;
    }

    @Override
    public String toString() {
        return "RenewClassCollect{" +
            "id=" + id +
            ", schoolId=" + schoolId +
            ", schoolName=" + schoolName +
            ", gradeId=" + gradeId +
            ", teacherId=" + teacherId +
            ", teacherName=" + teacherName +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", subjectsId=" + subjectsId +
            ", studentAllCount=" + studentAllCount +
            ", renewCount=" + renewCount +
            ", yetRenewCount=" + yetRenewCount +
            ", lossingCount=" + lossingCount +
            ", quarterEndDate=" + quarterEndDate +
            ", renewRate=" + renewRate +
            ", lossingRade=" + lossingRade +
        "}";
    }
}
